home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / exampleCode / opengl / pick / README < prev   
Text File  |  1996-11-11  |  878b  |  22 lines

  1.  
  2.              ~4Dgifts/toolbox/src/exampleCode/opengl/pick README
  3.  
  4.                               
  5.      The pick2 program demonstrates the use of X overlay window on top of
  6.      a RGBA, Doublebuffered and depthbuffered OpenGL Window to do picking.
  7.      The program accepts two optional parameters which define the number
  8.      of polygons in the x and y directions. The default is a 10x10 grid.
  9.      
  10.       RIGHTMOUSE:  drag the rubberband to create a picking window.  
  11.                Polygons inside the picking window will be 
  12.                highlighted in RED.  
  13.  
  14.       MIDDLEMOUSE: clears overlays/resets grid to initial position.
  15.  
  16.           LEFTMOUSE:   can be used to rotate the model. 
  17.  
  18.           Esc          terminates the program. 
  19.       
  20.      The pick buffer is set to 2000 words which can pick about 600 items.
  21.      To pick a larger region, modify the pick_buffer_size #define in pick2.c.
  22.